//
//  Model.h
//  EasyGo
//
//  Created by newhuidong on 16/2/1.
//  Copyright © 2016年 HuiDong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Model : NSObject

@property(nonatomic,assign)int ID ;//自增主键
@property(nonatomic,strong)NSString * OrderNum; //订单号
@property(nonatomic,strong)NSString * LineName; //行驶路线
@property(nonatomic,assign)int LinID; //路线ID
@property(nonatomic,assign)int PeoCount;//拼车人数
@property(nonatomic,assign)int LeftCount;//剩余座位数
@property(nonatomic,assign) double Prist;//每个座位价格
@property(nonatomic,assign) int Status;//订单状态0.等待接单1.已接单2.已发车3.已完成-1.订单取消
@property(nonatomic,assign) int Type;//订单类型
@property(nonatomic,strong) NSDate * CreateTime;//下单时间
@property(nonatomic,strong) NSString * EndTime;//完成订单时间

+(instancetype)ModelWithDic:(NSDictionary*)dic;
-(instancetype)initWithDic:(NSDictionary*)dic;

@end
